import request from '@/utils/request'


// 添加方案
export function schemeAdd(data) {
    return request({
      url: '/counseling/scheme',
      method: 'post',
      data: data
    })
  }
// 查询方案列表
export function schemePage(query) {
  return request({
    url: '/counseling/scheme/page',
    method: 'get',
    params: query
  })
}


  // 修改方案
export function schemePut(data) {
    return request({
        url: '/counseling/scheme',
      method: 'put',
      data: data
    })
  }


  // 删除方案
export function schemeDel(userIds) {
    console.log("参数",userIds)
  return request({
    url: '/counseling/scheme/'+ userIds,
    method: 'delete'
  })
}

